package com.ruoyix.flowable.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyix.common.annotation.ExcelDictFormat;
import com.ruoyix.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 流程表单视图对象 bpm_form
 *
 * @author ruoyi
 * @date 2023-11-20
 */
@Data
@ExcelIgnoreUnannotated
public class BpmFormVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 表单标识
     */
    @ExcelProperty(value = "表单标识")
    private String formKey;

    /**
     * 表单名称
     */
    @ExcelProperty(value = "表单名称")
    private String formName;

    /**
     * 状态（0停用1正常）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=停用1正常")
    private String status;

    /**
     * 表单option信息
     */
    @ExcelProperty(value = "表单option信息")
    private String formOption;

    /**
     * 表单fields信息
     */
    @ExcelProperty(value = "表单fields信息")
    private String formFields;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
